Skip to main content
Version: 4.x.x

LogType


import { LogType } from "@hyper-fetch/core"

Description

Defined in managers/logger/logger.manager.types.ts:12

Preview

type LogType = {
enabled: boolean;
extra: LoggerMessageType[];
level: LoggerLevelType;
message: LoggerMessageType;
module: string;
severity: SeverityType;
}

Structure

{
enabled: boolean;
extra: string | Record<string, unknown> | unknown[][];
level: error | warning | info | debug;
message: string | Record<string, unknown> | unknown[];
module: string;
severity: 0 | 1 | 2 | 3;
}